package cn.iocoder.yudao.framework.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * FIXME 新增
 * 业务逻辑异常 Exception，不打印 StackTrace
 */
@Getter
@Setter
public class KnownServiceException extends ServiceException {

    public KnownServiceException(Throwable cause) {
        super(cause);
    }

    public KnownServiceException() {
        super();
    }

    public KnownServiceException(ErrorCode errorCode) {
        super(errorCode);
    }

    public KnownServiceException(String message) {
        super(message);
    }

    public KnownServiceException(Integer code, String message) {
        super(code, message);
    }

}
